<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Adm_turnos extends CI_Controller
{
	function index()
	{
		$data['contenido_principal'] = 'vista_adm_turnos';
		$this->load->view('includes/plantilla', $data);
		$this->confirmacion_login();
		//$this->output->set_header("Cache-Control: no-store, no-cache, must-revalidate, no-transform, max-age=0, post-check=0, pre-check=0");
		//$this->output->set_header("Pragma: no-cache"); 
	}
	
	function confirmacion_login()
	{
		$esta_logueado = $this->session->userdata('esta_logueado');
		if(!isset($esta_logueado) || $esta_logueado != true)
		{
			redirect('../error/error_general');
			die();
		}		
	}
	
	function ver_turnos()
	{
	}
	
	function tomar_turnos()
	{
	}
	
	function eliminar_turnos()
	{
	}
}